<template>
    <h1>我的信息</h1>
</template>

<script lang="ts" setup>
  import emitter from '@/emitter';
  emitter.on('customEvent', (message) => {
    console.log('MyInfo组件接收到事件:', message.message);
  });
  
</script>